<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css">
</head>
<body>
<div>
	<a href="{:U('add')}">
      	<h2>
      		<span class="glyphicon glyphicon-plus-sign"></span>
      	    添加新信息
      	</h2>
    </a>
</div>
<div class="table-responsive">
	<table class="table table-striped table-bordered table-hover table-condensed text-center">
		<thead>
			<tr>
				<th class="text-center">商品ID</th>
				<th class="text-center">商品名称</th>
				<th class="text-center">商品分类</th>
				<th class="text-center">商品上架时间</th>	
				<th class="text-center">商品是否推荐</th>
				<th class="text-center">商品状态</th>
				<th class="text-center">商品详情</th>		
				<th class="text-center">修改/删除</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="tab">
				<tr>
					<td>{$tab.id}</td>
					<td>{$tab.name}</td>
					<td>
						{$tab.class.cname}
					</td>	
					<td>{$tab.putaway_time}</td>	
					<td>{$tab.recommend}</td>	
					<td>{$tab.status}</td>	
					<td><a href="{:U('increase')}?id={$tab.id}">详情</a></td>
					<td>
						<a href="{:U('save')}?id={$tab.id}">[修改]</a>
						<a href="{:U('cancel')}?id={$tab.id}" onclick="return confirm('确定将此记录删除?')">[删除]</a>
					</td>
				</tr>
			</volist>
		</tbody>
	</table>
	<div class="result page text-center"><h4>{$page}</h4></div>
</div>
</body>

</html>